import authMenuList from "@/assets/json/authMenuList.json"
import authButtonList from "@/assets/json/authButtonList.json"
import http from "@/api"

/**
 * @name 登录模块
 */

// 获取菜单列表
export const getAuthMenuListApi = () => {
  return authMenuList
}

// 获取按钮权限
export const getAuthButtonListApi = () => {
  return authButtonList
}

// 用户登录
export const userLoginApi = (params) => {
  return http.post(`/monitor/auth/login`, params)
}
